package BridgePattern;

public class IncreaseDisplay extends CountDisplay {
    private int step;
    public IncreaseDisplay(DisplayImpl imp1,int step) {
        super(imp1);
        this.step=step;
    }

    public void increaseDispaly(int line) {
        int count=0;
       for(int i=0;i<line;i++){
          multiDisplay(count);
          count+=step;
       }
    }
}
